extends ../base.pug

append vars
	- title = "PiKVM Login"
	- main_js = "login/main"
	- css_list = css_list.concat(["window", "modal", "login/login"])

block body
	form(action="javascript:void(0)")
		div(id="login-box")
			div(id="login")
				table
					tr
						td Username:&nbsp;
						td #[input(type="text" id="user-input" autocapitalize="off")]
					tr
						td Password:&nbsp;
						td #[input(type="password" id="passwd-input" autocapitalize="off")]
					tr
						td 2FA code:&nbsp;
						td #[input(type="text" id="code-input" placeholder="if enabled")]
					tr
						td(colspan=2)
							hr
					tr
						td
						td #[button(id="login-button" class="key") Login]

	ul(class="footer")
		li(class="left")
			| This site is actively using JavaScript.#[br]
			| It doesn't contain ads, but is blocked by some ad filters.#[br]
			| Please turn it off to continue and reload the page.
